'use strict';
exports.main = async (event, context) => {
	const { fileList } = event; // 获取文件列表
	try {
	    const res = await uniCloud.deleteFile({
	        fileList: fileList // 文件ID数组
	    });
	    return {
	        code: 0,
	        message: '文件删除成功',
	        data: res
	    };
	} catch (error) {
	    return {
	        code: 1,
	        message: '文件删除失败',
	        error: error.message
	    };
	}
};

